<#assign contextPath=springMacroRequestContext.getContextPath()/>
<#import "/public/frame/main.html" as frame/>
<@frame.head "南航明珠商城-页面访问量统计"></@frame.head>
<script type="text/javascript">
	var path = "${contextPath}";
</script>
<style type="text/css">
	* { -ms-word-wrap: break-word; word-wrap: break-word; }
	._citys { width: 450px; display: inline-block; border: 2px solid #eee; padding: 5px; position: relative; }
	._citys span { color: #56b4f8; height: 15px; width: 15px; line-height: 15px; text-align: center; border-radius: 3px; position: absolute; right: 10px; top: 10px; border: 1px solid #56b4f8; cursor: pointer; }
	._citys0 { width: 80%; height: 34px; display: inline-block; border-bottom: 2px solid #56b4f8; padding: 0; margin: 0; }
	._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888; width: 80px; text-align: center; cursor: pointer; }
	.citySel { background-color: #56b4f8; color: #fff !important; }
	._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
	._citys1 a { width: 83px; height: 35px; display: inline-block; background-color: #f5f5f5; color: #666; margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor: pointer; font-size: 13px; overflow: hidden; }
	._citys1 a:hover { color: #fff; background-color: #56b4f8; }
	.AreaS { background-color: #56b4f8 !important; color: #fff !important; }
</style>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i>后台管理中心 <span class="c-gray en">&gt;</span>数据分析 <span class="c-gray en">&gt;</span>页面访问量统计<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
	<div class="">
		<div class="filter">
			<form action="${contextPath}/totalController/explorExcl" id="dataForm" method="post">	 
				<div>
					<ul id="_citysheng" class="_citys0">
						<li id="total1" onclick="chooseType(1)" class="citySel">最近24小时</li> 
						<li id="total2" onclick="chooseType(2)">最近7天</li> 
						<li id="total3" onclick="chooseType(3)">最近15天</li> 
						<li id="total4" onclick="chooseType(4)">最近30天</li> 
						<li id="total5" onclick="chooseType(5)">自定义统计</li> 
						<li></li> 
					</ul>
				</div>
				<select id="ftype" name="ftype" onchange="sendAjaxIndex(this.value);" class="select" style="width: 200px;margin: 10px 0px;">
                	<option value="" selected="">所有</option>
                	<option value="0">首页</option>
                	<option value="1">商品详情页</option>
				</select>
				<input type="button" class="btn btn-primary radius" onclick="exploerData()" value="导出数据"><input type="hidden" name="typeid" id="typeid" value="1"/>
				<div style="display: none"  id="showId">
           	     	商品编号：
           	     	<input id="searId" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="input-text" style="width:150px;"/>
             		<input type="button" class="btn btn-primary radius" onclick="submitePid()" value="查询"/>
				</div>
				<div style="display: none" id="showDayId">
              		商品编号：
              		<input id="dayId" name="dayId" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" class="input-text" style="width:150px;"/>
					<span id="showDaybutton"><input type="button" class="btn btn-primary radius" onclick="submiteDayPid()" value="查询"/></span>
				</div>
				<div style="display: none" id="showTime">
					时间区间：
					<input id="startDate" name="startDate" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'endDate\')}',readOnly: true})" class="input-text Wdate" style="width: 150px;margin-top: 5px;">
					至
					<input id="endDate" name="endDate" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'startDate\')}',readOnly: true})" class="input-text Wdate" style="width: 150px;">
					<input type="button" class="btn btn-primary radius" onclick="sumDay()" value="查询"/>
				</div>
			</form>	
			<div style="width:740px;height:480px;" id="showview"></div>
		</div>
	</div>
</div>
<@frame.end "default"></@frame.end>
<script type="text/javascript" src="${contextPath}/resources/lib/esl/esl.js"></script>
<script type="text/javascript" src="${contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript" src="${contextPath}/resources/js/total/total.js"></script>
<script type="text/javascript">
	var fileLocation = path + '/resources/lib/echarts/echarts';
	require.config({
		paths:{
			echarts: fileLocation,
			'echarts/chart/line': fileLocation,
			'echarts/chart/bar': fileLocation,
			'echarts/chart/pie': fileLocation
	    }
	});
</script>